home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / wildcat / allfl_20.zip / ALLFLCFG.WCX (.txt) < prev    next >
Wildcat! WCX  |  1996-01-01  |  27KB  |  998 lines

  1. '! Decompiled with wccNosy version 4.20f (freeware)
  2. '! Input File: in.wcx  27481 bytes  01/28/123  10:06:42pm
  3. '! Code Segment Size  :25189 bytes
  4. '! Data Segment Size  :27026 bytes
  5. '! String Segment Size:2292 bytes
  6. '! Compiled with WCC version 4.01
  7.  
  8.       Type Type42
  9.         b0(1 To 4095) As Byte
  10.       End Type
  11.  
  12.       Type Type41
  13.         s0 As String*5
  14.         s5 As String*3
  15.         s8 As String*3
  16.         s11 As String*79
  17.         s90 As String*79
  18.         s169 As String*67
  19.         t42_236 As Type42
  20.       End Type
  21.  
  22.       Type Type40
  23.         s0 As String*65
  24.         s65 As String*77
  25.         s142 As String*59
  26.       End Type
  27.  
  28.       Type Type39
  29.       End Type
  30.  
  31.       Type Type38
  32.         Filler0(1 To 3932) As Byte
  33.         b3932 As Byte
  34.       End Type
  35.  
  36.       Type Type37
  37.         b0 As Byte
  38.         s1 As String*160
  39.       End Type
  40.  
  41.       Type Type36
  42.         s0 As String*1
  43.         s1 As String*65
  44.         s66 As String*59
  45.         s125 As String*65
  46.         l190 As Long
  47.       End Type
  48.  
  49.       Type Type35
  50.         s0 As String*31
  51.         t36_31(1 To 20) As Type36
  52.         s3911 As String*20
  53.         b3931 As Byte
  54.         b3932 As Byte
  55.       End Type
  56.  
  57.       Type Type34
  58.         Filler0(1 To 66) As Byte
  59.         s66 As String*59
  60.       End Type
  61.  
  62.       Type Type33
  63.         Filler0(1 To 31) As Byte
  64.         t34_31(1 To 20) As Type34
  65.         Filler2531(1 To 1401) As Byte
  66.         b3932 As Byte
  67.         b3933 As Byte
  68.       End Type
  69.  
  70.       Type Type32
  71.         s0 As String*31
  72.         Filler31(1 To 3900) As Byte
  73.         b3931 As Byte
  74.         b3932 As Byte
  75.       End Type
  76.  
  77.       Type Type31
  78.         s0 As String*1
  79.         s1 As String*65
  80.         s66 As String*59
  81.         s125 As String*65
  82.         l190 As Long
  83.       End Type
  84.  
  85.       Type Type30
  86.         Filler0(1 To 31) As Byte
  87.         t31_31(1 To 20) As Type31
  88.         Filler3911(1 To 20) As Byte
  89.         b3931 As Byte
  90.       End Type
  91.  
  92.       Type Type29
  93.         Filler0(1 To 26) As Byte
  94.         w26 As Word
  95.         Filler28(1 To 2) As Byte
  96.         w30 As Word
  97.       End Type
  98.  
  99.       Type Type28
  100.         s0 As String*5
  101.         s5 As String*12
  102.         s17 As String*67
  103.         b84 As Byte
  104.         l85 As Long
  105.         s89 As String*79
  106.         s168 As String*12
  107.         s180 As String*67
  108.         s247 As String*79
  109.         s326 As String*67
  110.         t42_393 As Type42
  111.         l4488 As Long
  112.         b4492 As Byte
  113.         w4493 As Word
  114.       End Type
  115.  
  116.       Type Type27
  117.         s0 As String*3
  118.         s3 As String*8
  119.         s11 As String*30
  120.         s41 As String*25
  121.         s66(1 To 10) As String*80
  122.         l866 As Long
  123.       End Type
  124.  
  125.       Type Type26
  126.         s0 As String*25
  127.         s25 As String*10
  128.         s35 As String*15
  129.         s50 As String*70
  130.         s120 As String*70
  131.       End Type
  132.  
  133.       Declare Function Func1572(s65534 As String) As Long
  134.       Declare Function Func1684(s65534 As String) As Boolean
  135.       Declare Function Func2207(l65534 As Long, l65532 As Long) As Long
  136.       Declare Sub Sub2260(l65534 As Long, l65532 As Long)
  137.       Declare Function Func2360(i65534 As Integer) As Boolean
  138.       Declare Sub Sub2485(i65534 As Integer)
  139.       Declare Sub Sub2622(i65534 As Integer)
  140.       Declare Sub Sub2759(i65534 As Integer)
  141. '!      Declare Sub Sub2861(s65534 As String)
  142. '!      Declare Sub Sub2938
  143. '!      Declare Sub Sub3012(s65534 As String)
  144. '!      Declare Sub Sub3108
  145.       Declare Sub Sub3133
  146.       Declare Function Func3153(l65534 As Long) As Long
  147. '!      Declare Function Func3610(s65534 As String) As Long
  148.       Declare Sub Sub3746(t30_65534 As Type30, s65532 As String, s65530 As String, s65528 As String, s65526 As String, l65524 As Long)
  149.       Declare Sub Sub4057(t32_65534 As Type32, s65532 As String)
  150.       Declare Sub Sub4110(t33_65534 As Type33)
  151.       Declare Sub Sub4364
  152.       Declare Function Func4502(t35_65534 As Type35) As String
  153.       Declare Sub Sub7173(s65534 As String)
  154.       Declare Function Func7453(i65534 As Integer) As String
  155.       Declare Function Func7625(s65534 As String, b65532 As Byte, i65530 As Integer, i65528 As Integer) As Integer
  156.       Declare Sub Sub8113(i65534 As Integer, i65532 As Integer)
  157.       Declare Sub Sub8660(i65534 As Integer)
  158.       Declare Function Func8810(i65534 As Integer, i65532 As Integer) As Integer
  159.       Declare Sub Sub9715
  160.       Declare Sub Sub10566(t30_65534 As Type30, s65532 As String, i65530 As Integer, s65528 As String, l65526 As Long)
  161.       Declare Sub Sub10726
  162.       Declare Sub Sub11552
  163.       Declare Function Func12594(i65534 As Integer) As Boolean
  164.       Declare Function Func12619(i65534 As Integer, i65532 As Integer) As Integer
  165.       Declare Function Func13170 As Integer
  166.       Declare Sub Sub13686(s65534 As String)
  167.       Declare Sub Sub14028(s65534 As String)
  168.       Declare Sub Sub14522(s65534 As String, t41_65532 As Type41)
  169.       Declare Sub Sub14889
  170.       Declare Sub Sub16564
  171.       Declare Sub Sub16811
  172.       Declare Sub Sub20273
  173.       Declare Sub Sub20743
  174.       Declare Sub Sub22515
  175.       Declare Sub Sub24327
  176.  
  177.       Dim t26_4463 As Type26
  178.       Dim t27_4653 As Type27
  179.       Dim s5533 As String
  180.       Dim t28_5537 As Type28
  181.       Dim b10032(0 To 7) As Byte
  182.       Dim b10040(0 To 7) As Byte
  183.       Dim s10048 As String
  184.       Dim t38_10052 As Type38
  185.       Dim s13986 As String
  186.       Dim s13990 As String
  187.       Dim i13994 As Integer
  188.       Dim far13996 As FileAreaRecord
  189.       Dim t39_14093 As Type39
  190.       Dim l18588 As Long
  191.       Dim t41_22695 As Type41
  192.  
  193.       Dim l65512_ As Long '! Temporary
  194.       Dim s65516_ As String '! Temporary
  195.       Dim l65518_ As Long '! Temporary
  196.       Dim s65520_ As String '! Temporary
  197.       Dim s65522_ As String '! Temporary
  198.       Dim s65524_ As String '! Temporary
  199.       Dim i65526_ As Integer '! Temporary
  200.       Dim s65528_ As String '! Temporary
  201.       Dim i65530_ As Integer '! Temporary
  202.       Dim s65532_ As String
  203.  
  204.       t26_4463.s0 = "proFILES"
  205.       t26_4463.s25 = "2.0"
  206.       t26_4463.s35 = "01/01/96"
  207.       t26_4463.s50 = "Copyright (C) 1996 Prasanth Pulavarthi. All Rights Reserved."
  208.       t26_4463.s120 = t26_4463.s0 + " " + t26_4463.s25 + " for Wildcat! 4.01+"
  209.       s5533 = ProgPath + "ALLFILES.DAT"
  210.       t28_5537.s0 = t26_4463.s25
  211.       b10032(0) = 1
  212.       b10032(1) = 2
  213.       b10032(2) = 4
  214.       b10032(3) = 8
  215.       b10032(4) = 16
  216.       b10032(5) = 32
  217.       b10032(6) = 64
  218.       b10032(7) = 128
  219.       b10040(0) = 254
  220.       b10040(1) = 253
  221.       b10040(2) = 251
  222.       b10040(3) = 247
  223.       b10040(4) = 239
  224.       b10040(5) = 223
  225.       b10040(6) = 191
  226.       b10040(7) = 127
  227.       Sub7173(("PROFILES.PRM"))
  228.       s10048 = "PROFILES"
  229.       If ParamCount > 0 Then
  230.         s5533 = ParamStr(1)
  231.       End If
  232.       Do
  233.   607
  234.         Sub4057(t38_10052.??0, (Func7453((149 + 0))))
  235.         Sub10566(t38_10052.??0, ("P"), (149 + 1), (""), (0))
  236.         Sub10566(t38_10052.??0, ("O"), (149 + 3), (""), (0))
  237.         Sub10566(t38_10052.??0, ("H"), (149 + 5), (""), (293))
  238.         Sub10566(t38_10052.??0, ("A"), (149 + 7), (""), (0))
  239.         If Not Exists(ProgPath + "ALLFILES.LIC") Then
  240.           Sub3746(t38_10052.??0, ("R"), ("Register proFILES"), ("Runs the automated registration form creator"), (""), (0))
  241.         End If
  242.  1122
  243.         Sub10566(t38_10052.??0, ("Q"), (149 + 9), (""), (0))
  244.         s65532_ = UCase(Func4502(t38_10052.??0))
  245.         If s65532_ = "P" Then
  246.           Sub16811
  247.         Else
  248.  1251     If s65532_ = "O" Then
  249.             Sub22515
  250.           Else
  251.  1280       If s65532_ = "H" Then
  252.               Sub24327
  253.             Else
  254.  1309         If s65532_ = "A" Then
  255.                 MorePrompt(-1)
  256.                 If Not ReadBackOpen(ProgPath + "PROFILES.LOG") Then
  257.                   Print Func7453((149 + 11))
  258.                 Else
  259.  1389             Cls 
  260.  1392             Do While Not ReadBackTOF And Not DisplayStopped
  261.                     Print ReadBackNext
  262.                   Loop
  263.                 End If
  264.  1423           ReadBackClose 
  265.                 WaitEnter 
  266.                 MorePrompt(0)
  267.               Else
  268.  1440           If s65532_ = "R" Then
  269.                   Run "AFLREG.WCX", ""
  270.                 Else
  271.  1476             If s65532_ = "Q" Then
  272.                     Print Func7453((1)); t26_4463.s50
  273.                     GoTo 1548
  274.                     GoTo 1542
  275.                   End If
  276.                 End If
  277.               End If
  278.             End If
  279.           End If
  280.         End If
  281.  1542 Loop
  282.  1548
  283.  
  284. '! Called 2 times
  285.       Function Func1572(s65534 As String) As Long
  286.         Dim l65524 As Long
  287.         Dim i65528 As Integer
  288.  
  289.         l65524 = 0
  290.         i65528 = Len(s65534)
  291.  1601   Do While i65528 > 0
  292.           l65524 = l65524 + Asc(Mid(s65534, i65528, 1))
  293.           i65528 = i65528 - 1
  294.         Loop
  295.  1666   Func1572 = l65524
  296.       End Function
  297.  
  298. '! Called 2 times
  299.       Function Func1684(s65534 As String) As Boolean
  300.         Dim s65513 As String '! Temporary
  301.         Dim l65517 As Long
  302.         Dim s65519 As String '! Temporary
  303.         Dim i65521 As Integer
  304.         Dim s65523 As String
  305.         Dim i65527 As Integer
  306.         Dim l65529 As Long
  307.  
  308.         Func1684 = 0
  309.         If Exists(ProgPath + s65534 + ".LIC") Then
  310.           Open ProgPath + s65534 + ".LIC" For Random As 1 Len = 880 '! This value should probably be replaced with a "SizeOf" expression
  311.           Get 1, -1, t27_4653 '! 880 bytes
  312.           Close 1
  313.           If t27_4653.s0 <> "LIC" Then
  314.           Else
  315.  1804       If t27_4653.s3 <> s65534 Then
  316.             Else
  317.  1834         If UCase(t27_4653.s11) <> UCase(MakeWild.BBSName) Then
  318.               Else
  319.  1874           If UCase(t27_4653.s41) <> UCase(MakeWild.SysopName) Then
  320.                 Else
  321.  1914
  322.                   l65529 = Func1572((t27_4653.s0 + t27_4653.s3 + t27_4653.s11 + t27_4653.s41))
  323.  2004             For i65527 = 1 To 10 Step 1
  324.                     s65523 = t27_4653.s66(i65527)
  325.                     l65529 = l65529 + Func1572((s65523))
  326.                   Next
  327.  2158             If l65529 <> t27_4653.l866 Then
  328.                   Else
  329.  2187               Func1684 = -1
  330.                   End If
  331.                 End If
  332.               End If
  333.             End If
  334.           End If
  335.         End If
  336.  2195
  337.       End Function
  338.  
  339. '! Called 9 times
  340.       Function Func2207(l65534 As Long, l65532 As Long) As Long
  341.         Func2207 = 0
  342.         If l65534 And l65532 Then
  343.           Func2207 = -1
  344.         End If
  345.  2252
  346.       End Function
  347.  
  348. '! Called 14 times
  349.       Sub Sub2260(l65534 As Long, l65532 As Long)
  350.         Dim l65524 As Long '! Temporary
  351.         Dim l65528 As Long '! Temporary
  352.  
  353.         If Func2207((l65534), (l65532)) Then
  354.           FlagClear l65534, l65532
  355.         Else
  356.  2342     FlagSet l65534, l65532
  357.         End If
  358.  2357
  359.       End Sub
  360.  
  361. '! Called 3 times
  362.       Function Func2360(i65534 As Integer) As Boolean
  363.         If (t28_5537.t42_393(i65534 Div 8 + 1).b0 And b10032(i65534 Mod 8)) <> 0 Then
  364.           Func2360 = -1
  365.         Else
  366.  2471     Func2360 = 0
  367.         End If
  368.  2477
  369.       End Function
  370.  
  371. '! Called 2 times
  372.       Sub Sub2485(i65534 As Integer)
  373.         t28_5537.t42_393(i65534 Div 8 + 1).b0 = t28_5537.t42_393(i65534 Div 8 + 1).b0 Or b10032(i65534 Mod 8)
  374.       End Sub
  375.  
  376. '! Called 1 time
  377.       Sub Sub2622(i65534 As Integer)
  378.         t28_5537.t42_393(i65534 Div 8 + 1).b0 = t28_5537.t42_393(i65534 Div 8 + 1).b0 And b10040(i65534 Mod 8)
  379.       End Sub
  380.  
  381. '! Called 4 times
  382.       Sub Sub2759(i65534 As Integer)
  383.         Dim i65532 As Integer '! Temporary
  384.  
  385.         If Func2360((i65534)) Then
  386.           Sub2622((i65534))
  387.         Else
  388.  2832
  389.           Sub2485((i65534))
  390.         End If
  391.  2858
  392.       End Sub
  393.  
  394. '! Called 0 times
  395. '!      Sub Sub2861(s65534 As String)
  396. '!        Dim i65532 As Integer
  397.  
  398. '!        i65532 = FreeFile
  399. '!        Open ProgPath + "PROFILES.LOG" For Append As i65532
  400. '!        Print #i65532, "      * "; s65534
  401. '!        Close i65532
  402. '!      End Sub
  403.  
  404. '! Called 0 times
  405. '!      Sub Sub2938
  406. '!        Dim i65534 As Integer
  407.  
  408. '!        i65534 = FreeFile
  409. '!        Open ProgPath + "PROFILES.LOG" For Append As i65534
  410. '!        Print #i65534, String(79, "-")
  411. '!        Close i65534
  412. '!      End Sub
  413.  
  414. '! Called 0 times
  415. '!      Sub Sub3012(s65534 As String)
  416. '!        Dim t65528 As Time
  417. '!        Dim i65532 As Integer
  418.  
  419. '!        i65532 = FreeFile
  420. '!        CurrentTime t65528
  421. '!        Open ProgPath + "PROFILES.LOG" For Append As i65532
  422. '!        Print #i65532, FormatTime(t65528, "hh:mm"); " "; s65534
  423. '!        Close i65532
  424. '!      End Sub
  425.  
  426. '! Called 0 times
  427. '!      Sub Sub3108
  428. '!        ActivityLog ProgName + " ERROR - See PROFILES.LOG for info."
  429. '!      End Sub
  430.  
  431. '! Called 5 times
  432.       Sub Sub3133
  433.         Delay 0
  434.       End Sub
  435.  
  436. '! Called 2 times
  437.       Function Func3153(l65534 As Long) As Long
  438.         Dim l65439 As Long
  439.         Dim l65443 As Long
  440.         Dim i65447 As Integer
  441.         Dim b65449 As Byte
  442.         Dim s65454 As String
  443.         Dim s65458 As String
  444.         Dim l65462 As Long
  445.         Dim s65466 As String*32
  446.         Dim t29_65498 As Type29
  447.  
  448.         i65447 = FreeFile
  449.         Open ProgPath + s10048 + ".HLP" For Random As i65447 Len = 32 '! This value should probably be replaced with a "SizeOf" expression
  450.         If l65534 > LOF(i65447) Then
  451.           Close i65447
  452.           Func3153 = - 1
  453.           DisplayPrompt 16
  454.           WaitEnter 
  455.         Else
  456.  3258     Get i65447, l65534, t29_65498 '! 32 bytes
  457.  3328     For l65462 = l65534 + 1 To l65534 + 1 + t29_65498.w26 Step 1
  458.             Get i65447, l65462, s65466 '! 32 bytes
  459.             s65458 = s65458 + s65466
  460.             b65449 = InStr(s65458, Chr(13) + Chr(10))
  461.  3436       Do While b65449 > 0
  462.               s65454 = Left(s65458, b65449)
  463.               Print s65454
  464.               s65458 = Mid(s65458, b65449 + 2, Len(s65458))
  465.               b65449 = InStr(s65458, Chr(13) + Chr(10))
  466.             Loop
  467.  3531     Next
  468.  3554     Close i65447
  469.           WaitEnter 
  470.           Func3153 = t29_65498.w26 + t29_65498.w30
  471.         End If
  472.  3590
  473.       End Function
  474.  
  475. '! Called 0 times
  476. '!      Function Func3610(s65534 As String) As Long
  477. '!        Func3610 = - 1
  478. '!        Open ProgPath + s10048 + ".HLP" For Random As 1 Len = 32 '! This value should probably be replaced with a "SizeOf" expression
  479. '!        IndexOpen(ProgPath + s10048 + ".IDX")
  480. '!        s65534 = Pad(UCase(s65534), 15)
  481. '!        If IndexLookUp(s65534) = s65534 Then
  482. '!          Func3610 = IndexNextRef
  483. '!        End If
  484. '! 3730   Close 1
  485. '!        IndexClose 
  486. '!      End Function
  487.  
  488. '! Called 3 times
  489.       Sub Sub3746(t30_65534 As Type30, s65532 As String, s65530 As String, s65528 As String, s65526 As String, l65524 As Long)
  490.         Inc t30_65534.b3931
  491.         t30_65534.t31_31(t30_65534.b3931).s0 = s65532
  492.         t30_65534.t31_31(t30_65534.b3931).s1 = s65530
  493.         t30_65534.t31_31(t30_65534.b3931).s66 = s65528
  494.         t30_65534.t31_31(t30_65534.b3931).s125 = s65526
  495.         t30_65534.t31_31(t30_65534.b3931).l190 = l65524
  496.       End Sub
  497.  
  498. '! Called 8 times
  499.       Sub Sub4057(t32_65534 As Type32, s65532 As String)
  500.         t32_65534.s0 = s65532
  501.         t32_65534.b3931 = 0
  502.         t32_65534.b3932 = 1
  503.       End Sub
  504.  
  505. '! Called 7 times
  506.       Sub Sub4110(t33_65534 As Type33)
  507.         MorePrompt(0)
  508.         Print "@NOPAUSE@";
  509.         Print Chr(27) + "[s";
  510.         Locate 5, 1
  511.         Locate 5 + t33_65534.b3933 - 1, 1
  512.         Print "   "
  513.         Locate 5 + t33_65534.b3932 - 1, 1
  514.         Print " @0C@"; Chr(16)
  515.         Locate User.LinesPerPage, 1
  516.         Print "@1F@ " + Pad(t33_65534.t34_31(t33_65534.b3932).s66, 59) + "@07@";
  517.         Print Chr(27) + "[u";
  518.         t33_65534.b3933 = t33_65534.b3932
  519.       End Sub
  520.  
  521. '! Called 14 times
  522.       Sub Sub4364
  523.         Dim l65528 As Long
  524.         Dim i65532 As Integer
  525.         Dim i65534 As Integer
  526.  
  527.  4406   For i65534 = 5 To User.LinesPerPage - 1 Step 1
  528.           Locate i65534, 1
  529.           ClrEOL 
  530.         Next
  531.  4492   Locate 5, 1
  532.       End Sub
  533.  
  534. '! Called 8 times
  535.       Function Func4502(t35_65534 As Type35) As String
  536.         Dim l65509 As Long '! Temporary
  537.         Dim l65513 As Long
  538.         Dim i65517 As Integer
  539.         Dim i65519 As Integer
  540.         Dim s65521 As String
  541.         Dim i65527 As Integer
  542.         Dim o65529 As Boolean
  543.  
  544.  4511   o65529 = 0
  545.         Do
  546.  4517     Cls 
  547.           Print Chr(27) + "[s";
  548.           Locate User.LinesPerPage, 1
  549.           Print "@1F@ " + LeftPad(" │ Press ? for help", 78) + " @07@";
  550.           Print Chr(27) + "[u";
  551.           SubText 1, t26_4463.s0
  552.           SubText 2, t26_4463.s25
  553.           SubText 3, Pad(t35_65534.s0, 31)
  554.           SubText 4, t26_4463.s35
  555.           Print "@71@ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ";
  556.           Print "@71@  @1F@  @SUB1@ @SUB2@  @07@ @71@ @1F@  @SUB3@  @07@ @70@ @1F@  Compiled: @SUB4@  @07@ @70@ ";
  557.           Print "@70@  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ";
  558.           Locate 5, 1
  559.           t35_65534.s3911 = ""
  560.  4737     For i65527 = 1 To t35_65534.b3931 Step 1
  561.             t35_65534.s3911 = t35_65534.s3911 + t35_65534.t36_31(i65527).s0
  562.             SubText 1, t35_65534.t36_31(i65527).s125
  563.             Print "@07@   @09@[@0F@"; t35_65534.t36_31(i65527).s0; "@09@] @0B@"; t35_65534.t36_31(i65527).s1
  564.           Next
  565.  5035     Sub4110(t35_65534.s0)
  566.           Print
  567.           Print "@07@Use your arrow keys to move cursor. Press ENTER or the hotkey to select."
  568.           Print "@0E@Your command >> @0F@";
  569.           Do
  570.             Do
  571.  5066         s65521 = UCase(InKey(1213417543))
  572.             Loop Until s65521 <> ""
  573.             i65527 = Asc(s65521)
  574.             If s65521 = Chr(27) Or s65521 = Chr(0) Then
  575.               Do
  576.  5139           s65521 = InKey(1213417543)
  577.                 If s65521 <> "" Then
  578.                   i65527 = Asc(s65521) + 1000
  579.                 End If
  580.  5185         Loop Until s65521 = ""
  581.             End If
  582.  5202       i65519 = i65527
  583.             If i65519 = 1077 Then GoTo 5276
  584.             If i65519 = 1080 Then GoTo 5276
  585.             If i65519 = 1066 Then GoTo 5276
  586.             If i65519 = 1067 Then
  587.  5276         Inc t35_65534.b3932
  588.               If t35_65534.b3932 > t35_65534.b3931 Then
  589.                 t35_65534.b3932 = 1
  590.               End If
  591.  5335         Sub4110(t35_65534.s0)
  592.             Else
  593.  5352         If i65519 = 1075 Then GoTo 5416
  594.               If i65519 = 1072 Then GoTo 5416
  595.               If i65519 = 1065 Then GoTo 5416
  596.               If i65519 = 1068 Then
  597.  5416           Dec t35_65534.b3932
  598.                 If t35_65534.b3932 < 1 Then
  599.                   t35_65534.b3932 = t35_65534.b3931
  600.                 End If
  601.  5475           Sub4110(t35_65534.s0)
  602.               Else
  603.  5492           If i65519 = Asc("?") Then
  604.                   o65529 = -1
  605.                   Print Chr(27) + "[s";
  606.                   Locate User.LinesPerPage, 1
  607.                   Print "@1F@ " + LeftPad(" │ ESC to exit help", 78) + " @07@";
  608.                   Print Chr(27) + "[u";
  609.                   MoveLeft 80
  610.                   ClrEOL 
  611.                   Print "@0E@Select the command you need help with >> @0F@";
  612.                   Sub4110(t35_65534.s0)
  613.                 Else
  614.  5630             If i65519 = 13 Then
  615.                     Func4502 = t35_65534.t36_31(t35_65534.b3932).s0
  616.                     Print "@0F@"; t35_65534.t36_31(t35_65534.b3932).s0
  617.                     If o65529 Then
  618.                       Sub4364
  619.                       SubText 1, t35_65534.t36_31(t35_65534.b3932).s125
  620.                       Print "@09@[@0F@"; t35_65534.t36_31(t35_65534.b3932).s0; "@09@] @0B@"; t35_65534.t36_31(t35_65534.b3932).s1
  621.                       Print
  622.                       If t35_65534.t36_31(t35_65534.b3932).l190 = 0 Then
  623.                         If t35_65534.t36_31(t35_65534.b3932).s66 = "" Then
  624.                           DisplayPrompt 16
  625.                         Else
  626.  6088                     Print "@0E@"; t35_65534.t36_31(t35_65534.b3932).s66
  627.                         End If
  628.  6151                   Print
  629.                         WaitEnter 
  630.                       Else
  631.  6162
  632.                         Func3153((t35_65534.t36_31(t35_65534.b3932).l190))
  633.                       End If
  634.  6233                 GoTo 4511
  635.                     Else
  636.  6245                 GoTo 7158
  637.                     End If
  638.  6251             Else
  639.  6257               If i65519 = 27 Then
  640.                       If o65529 Then
  641.                         o65529 = 0
  642.                         Print Chr(27) + "[s";
  643.                         Locate User.LinesPerPage, 1
  644.                         Print "@1F@ " + LeftPad(" │ Press ? for help", 78) + " @07@";
  645.                         Print Chr(27) + "[u";
  646.                         MoveLeft 80
  647.                         ClrEOL 
  648.                         Print "@0E@Your command >> @0F@";
  649.                         Sub4110(t35_65534.s0)
  650.                       Else
  651.  6398                   t35_65534.b3932 = t35_65534.b3931
  652.                         Sub4110(t35_65534.s0)
  653.                         Func4502 = t35_65534.t36_31(t35_65534.b3931).s0
  654.                         Print "@0F@"; t35_65534.t36_31(t35_65534.b3931).s0
  655.                         GoTo 7158
  656.                       End If
  657.  6550               Else
  658.  6556                 If InStr(t35_65534.s3911, s65521) > 0 Then
  659.                         t35_65534.b3932 = InStr(t35_65534.s3911, s65521)
  660.                         Sub4110(t35_65534.s0)
  661.                         Func4502 = s65521
  662.                         Print "@0F@"; s65521
  663.                         If o65529 Then
  664.                           Sub4364
  665.                           SubText 1, t35_65534.t36_31(t35_65534.b3932).s125
  666.                           Print "@09@[@0F@"; t35_65534.t36_31(t35_65534.b3932).s0; "@09@] @0B@"; t35_65534.t36_31(t35_65534.b3932).s1
  667.                           Print
  668.                           If t35_65534.t36_31(t35_65534.b3932).l190 = 0 Then
  669.                             If t35_65534.t36_31(t35_65534.b3932).s66 = "" Then
  670.                               DisplayPrompt 16
  671.                             Else
  672.  6983                         Print "@0E@"; t35_65534.t36_31(t35_65534.b3932).s66
  673.                             End If
  674.  7046                       Print
  675.                             WaitEnter 
  676.                           Else
  677.  7057
  678.                             Func3153((t35_65534.t36_31(t35_65534.b3932).l190))
  679.                           End If
  680.  7128                     GoTo 4511
  681.                         Else
  682.  7140                     GoTo 7158
  683.                         End If
  684.                       End If
  685.                     End If
  686.                   End If
  687.                 End If
  688.               End If
  689.             End If
  690.  7146     Loop
  691.         Loop
  692.  7158
  693.       End Function
  694.  
  695. '! Called 1 time
  696.       Sub Sub7173(s65534 As String)
  697.         If User.Language <> "" Then
  698.           If Exists(MakeWild.LanguagePath + User.Language + "\" + s65534) Then
  699.             Open MakeWild.LanguagePath + User.Language + "\" + s65534 For Random As 9 Len = 161 '! This value should probably be replaced with a "SizeOf" expression
  700.             GoTo 7450
  701.           End If
  702.         End If
  703.  7314   If Exists(MakeWild.LanguagePath + s65534) Then
  704.           Open MakeWild.LanguagePath + s65534 For Random As 9 Len = 161 '! This value should probably be replaced with a "SizeOf" expression
  705.           GoTo 7450
  706.         End If
  707.  7382   Error 10
  708.         Catch 10
  709.           Print "Unable to open prompt file: "; s65534
  710.           ActivityLog ProgName + " - Unable to open prompt file: " + s65534
  711.           WaitEnter 
  712.           End 
  713.         GoTo 7450
  714.  7450
  715.       End Sub
  716.  
  717. '! Called 67 times
  718.       Function Func7453(i65534 As Integer) As String
  719.         Dim s65365 As String
  720.         Dim t37_65369 As Type37
  721.  
  722.         If RIPEnabled Then
  723.           i65534 = i65534 + LOF(9) / 2
  724.         End If
  725.  7502   Get 9, i65534, t37_65369 '! 161 bytes
  726.         s65365 = Left(t37_65369.s1, t37_65369.b0)
  727.         If Left(s65365, 2) = "<<" Then
  728.           DisplayFile(Mid(s65365, 3, Len(s65365) - 2))
  729.           Func7453 = ""
  730.         Else
  731.  7602     Func7453 = s65365
  732.         End If
  733.  7610
  734.       End Function
  735.  
  736. '! Called 2 times
  737.       Function Func7625(s65534 As String, b65532 As Byte, i65530 As Integer, i65528 As Integer) As Integer
  738.         Dim l65512 As Long
  739.         Dim i65516 As Integer
  740.         Dim i65518 As Integer
  741.         Dim o65520 As Boolean
  742.         Dim o65521 As Boolean
  743.         Dim i65522 As Integer
  744.         Dim i65524 As Integer
  745.  
  746.         i65524 = 0
  747.         o65521 = 0
  748.         o65520 = 0
  749.  7685   For i65518 = b65532 To Len(s65534) Step 1
  750.           If Mid(s65534, i65518, 1) = "," Then
  751.             GoTo 8008
  752.           Else
  753.  7776       If Mid(s65534, i65518, 1) = " " Then
  754.               GoTo 8008
  755.             Else
  756.  7817         If Mid(s65534, i65518, 1) = "-" Then
  757.                 If o65521 = -1 Then
  758.                   o65520 = -1
  759.                 End If
  760.  7870           i65530 = i65524
  761.                 i65524 = 0
  762.                 o65521 = -1
  763.               Else
  764.  7902           If Not o65520 Then
  765.                   i65522 = Val(Mid(s65534, i65518, 1))
  766.                   If i65522 >= 0 And i65522 <= 9 Then
  767.                     i65524 = i65524 * 10 + i65522
  768.                   End If
  769.                 End If
  770.               End If
  771.             End If
  772.           End If
  773.  7985   Next
  774.  8008   If o65520 Then
  775.           i65530 = 0
  776.           i65528 = 0
  777.           i65524 = 0
  778.         Else
  779.  8047     If o65521 Then
  780.             i65528 = i65524
  781.             i65524 = - 1
  782.           End If
  783.         End If
  784.  8079   b65532 = i65518 + 1
  785.         Func7625 = i65524
  786.       End Function
  787.  
  788. '! Called 1 time
  789.       Sub Sub8113(i65534 As Integer, i65532 As Integer)
  790.         Dim i65421 As Integer '! Temporary
  791.         Dim l65423 As Long
  792.         Dim i65427 As Integer
  793.         Dim far65433 As FileAreaRecord
  794.         Dim i65530 As Integer
  795.  
  796.         DisplayPrompt 1129
  797.         Print
  798.         Print
  799.  8163   For i65530 = i65534 To i65532 Step 1
  800.           GetFileArea(far65433, i65530)
  801.           If Func12594((i65530)) Then
  802.             SubText 1, LeftPad(Str(i65530), 5)
  803.           Else
  804.  8279
  805.             SubText 1, Func7453((1)) + LeftPad(Str(i65530), 5)
  806.           End If
  807.  8320
  808.           If Func2360((i65530)) And Func12594((i65530)) Then
  809.             SubText 2, "*"
  810.           Else
  811.  8392       SubText 2, " "
  812.           End If
  813.  8402
  814.           If Func12594((i65530)) Then
  815.             SubText 3, Pad(far65433.Name, 31 + Len(far65433.Name) - AtLen(far65433.Name))
  816.           Else
  817.  8476
  818.             SubText 3, Func7453((1)) + Pad(far65433.Name, 31 + Len(far65433.Name) - AtLen(far65433.Name))
  819.           End If
  820.  8537     DisplayPrompt 829
  821.           Sub3133
  822.         Next
  823.  8572   Print
  824.         SubText 1, "1"
  825.         SubText 2, Str(MakeWild.MaxFileAreas)
  826.         If i65534 > 1 Then
  827.           DisplayPrompt 1313
  828.         Else
  829.  8631     DisplayPrompt 1312
  830.         End If
  831.  8637   Print Chr(27) + "[s";
  832.       End Sub
  833.  
  834. '! Called 3 times
  835.       Sub Sub8660(i65534 As Integer)
  836.         Dim i65532 As Integer '! Temporary
  837.  
  838.         If i65534 Mod 2 = 0 Then
  839.           Locate 2 + i65534 Div 2, 48
  840.         Else
  841.  8715     Locate 3 + i65534 Div 2, 8
  842.         End If
  843.  8735
  844.         If Func2360((i65534)) Then
  845.           Print "@0C@*";
  846.         Else
  847.  8782     Print " ";
  848.         End If
  849.  8791   Print Chr(27) + "[u";
  850.       End Sub
  851.  
  852. '! Called 1 time
  853.       Function Func8810(i65534 As Integer, i65532 As Integer) As Integer
  854.         Dim i65501 As Integer '! Temporary
  855.         Dim l65503 As Long
  856.         Dim s65505 As String '! Temporary
  857.         Dim i65507 As Integer '! Temporary
  858.         Dim l65509 As Long
  859.         Dim i65511 As Integer '! Temporary
  860.         Dim i65513 As Integer '! Temporary
  861.         Dim i65515 As Integer
  862.         Dim i65517 As Integer
  863.         Dim b65519 As Byte
  864.         Dim s65520 As String
  865.         Dim s65524 As String
  866.         Dim i65528 As Integer
  867.  
  868.         Sub8113((i65534), (i65532))
  869.         Do
  870.  8865     s65524 = InputMask("", String(10, "X"), "", 1213417543)
  871.           s65520 = UCase(s65524)
  872.           If s65520 = "C" Then GoTo 8942
  873.           If s65520 = "" Then
  874.  8942       Func8810 = -1
  875.             GoTo 9699
  876.           Else
  877.  8962       If s65520 = "N" Then
  878.               Func8810 = -3
  879.               GoTo 9699
  880.             Else
  881.  8999         If s65520 = "P" Then
  882.                 If i65534 > 1 Then
  883.                   Func8810 = -2
  884.                   GoTo 9699
  885.                 End If
  886.  9047         Else
  887.  9053           If s65520 = "S" Then GoTo 9087
  888.                 If s65520 = "L" Then
  889.  9087             Func8810 = -4
  890.                   GoTo 9699
  891.                 Else
  892.  9107             If s65520 = "A" Then
  893.  9153               For i65528 = 1 To MakeWild.MaxFileAreas Step 1
  894.                       If Func12594((i65528)) Then
  895.                         Sub2759((i65528))
  896.                         Sub8660((i65528))
  897.                       End If
  898.  9281               Next
  899.  9304             Else
  900.  9310               b65519 = 1
  901.  9317               Do While b65519 <= Len(s65524)
  902.                       i65528 = Func7625((s65524), b65519, i65517, i65515)
  903.                       If i65528 < 0 Then
  904.  9418                   For i65528 = i65517 To i65515 Step 1
  905.                           If Func12594((i65528)) Then
  906.                             Sub2759((i65528))
  907.                             Sub8660((i65528))
  908.                           End If
  909.  9546                   Next
  910.  9569                 Else
  911.  9575                   If i65528 >= 1 And i65528 <= MakeWild.MaxFileAreas Then
  912.                           If Func12594((i65528)) Then
  913.                             Sub2759((i65528))
  914.                             Sub8660((i65528))
  915.                           End If
  916.                         End If
  917.                       End If
  918.  9687               Loop
  919.                   End If
  920.                 End If
  921.               End If
  922.             End If
  923.           End If
  924.  9693   Loop
  925.  9699
  926.       End Function
  927.  
  928. '! Called 2 times
  929.       Sub Sub9715
  930.         Dim i65504 As Integer '! Temporary
  931.         Dim i65506 As Integer '! Temporary
  932.         Dim l65508 As Long
  933.         Dim i65512 As Integer
  934.         Dim i65514 As Integer
  935.         Dim i65516 As Integer
  936.         Dim b65518 As Byte
  937.         Dim i65519 As Integer
  938.         Dim i65521 As Integer
  939.         Dim i65523 As Integer
  940.         Dim s65525 As String
  941.         Dim o65529 As Boolean
  942.         Dim i65530 As Integer
  943.         Dim s65532 As String
  944.  
  945.         o65529 = -1
  946.         Do
  947.  9732     SubText 1, "1"
  948.           SubText 2, Str(MakeWild.MaxFileAreas)
  949.           DisplayPrompt 1217
  950.           Input s65532
  951.           s65525 = UCase(s65532)
  952.           If s65525 = "" Then
  953.  9829       For i65530 = 1 To MakeWild.MaxFileAreas Step 1
  954.               If Func12594((i65530)) Then
  955.                 Sub2485((i65530))
  956.               End If
  957.  9933       Next
  958.  9956     Else
  959.  9962       If s65525 = "Q" Then
  960.               GoTo 10555
  961.             Else
  962.  9991         If s65525 = "H" Then
  963.                 DisplayHelp "LISTFC.BBS"
  964.                 WaitEnter 
  965.                 o65529 = 0
  966.               Else
  967. 10031           If s65525 = "L" Then
  968.                   i65523 = 1
  969.                   Do
  970. 10055               i65521 = i65523 - 1 + (User.LinesPerPage - 5) * 2
  971.                     If i65521 > MakeWild.MaxFileAreas Then
  972.                       i65521 = MakeWild.MaxFileAreas
  973.                     End If
  974. 10127
  975.                     i65519 = Func8810((i65523), (i65521))
  976.                     If i65519 = -1 Then
  977.                       i65523 = i65523 + (User.LinesPerPage - 5) * 2
  978.                     Else
  979. 10226                 If i65519 = -2 Then
  980.                         i65523 = i65523 - (User.LinesPerPage - 5) * 2
  981.                       Else
  982. 10278                   If i65519 = -4 Then
  983.                           o65529 = 0
  984.                           GoTo 10347
  985.                           GoTo 10312
  986.                         End If
  987.                       End If
  988.                     End If
  989. 10312               If i65523 > MakeWild.MaxFileAreas Then
  990.                       GoTo 10347
  991.                     End If
  992. 10341             Loop
  993. 10347           Else
  994. 10353             b65518 = 1
  995. 10360             Do While b65518 <= Len(s65532)
  996.                     i65530 = Func7625((s65532), b65518, i65516, i65514)
  997.                     If i65530 >= 1 And i65530 <= MakeWild.MaxFileAreas Then
  998.